package com.boot.mgt.service

import com.boot.core.result.ResultTo
import com.googlecode.jsonrpc4j.JsonRpcService
import java.util.*


/**
 * @author rankai on 2018/3/22.
 */
@JsonRpcService("accidentStatistics")
interface TaAccidentStatisticsService {
    fun accidentMapAll(startTime: Date, endTime: Date): ResultTo
    fun accidentMapAllRpc(startTime: Date, endTime: Date, police_number: String?): ResultTo
    fun accidentMapOld(startTime: Date, endTime: Date): ResultTo
    fun accidentMapOldRpc(startTime: Date, endTime: Date, org_num: String?): ResultTo
}